<template> 
  <div class="app-container home">
	   <p>正在跳转...</p>
    <el-divider /> 
  </div>
</template> 
<script>
 
 import * as echarts from "echarts";

	export default{
		data(){
			return { 
				xAxisData: [], // x轴数据，可根据需求
				yAxisData1: [60.9448810,57.9797920,54.7515260,56.2670250,53.7035440,47.3953710,50.9106990
				,49.8957820,52.6792770,45.9946220,39.4901330,42.911740,28.1586470,34.170170,28.8809940,
				 35.4274730,36.6810020,25.6916750,17.2319990,18.8214480,25.7609330,22.4490440,21.5843220
				 ,26.4353570,23.863410,32.0017690,36.7517220,38.7445980,37.7829760,41.0535720,37.9697720 
				 ,32.0015990,32.7423570,37.7668770,34.6919680,43.5871670,45.4216710,32.1887690,36.6018840
				 ,49.1083250,56.922120,58.1260090,56.6880810,57.32740,61.742810,67.5893480,61.9341790
				 ,53.8420090,48.0040050,52.1003930,49.9124080,55.9742680,50.9009750,52.5186270,50.1321840
				 ,45.1604490,43.52340,50.5916430,48.189390,46.7987730,46.5688990,47.5397690,42.3225540
				 ,41.0640270,48.8349650,45.1070520,46.9049210,60.8902430,61.9578090,63.8956390,65.355310
				 ,59.5197540,63.3175710,71.2615180,75.0586720,72.0864940,68.0132770,66.7760850,69.7988720 
				 ,60.0931980,58.3508850,58.9384220,60.4615880,61.0033950,56.7045540,56.5232660,50.2666370
				 ,49.8293460,43.3032670,41.9045750,36.7942560,41.4607390,47.1373110,47.7618740,39.9587210
				 ,40.808670,34.8595880,36.2840010,44.7924840,40.9968090,38.3736920], // 数据1 
			}
		}, 
		mounted(){
			// window.location.href = "http://192.168.100.133/index?passwordfalse";
		},
		methods:{ 			
			loadLine() {
				let option = {
					title: {
						text: 'ECharts 入门示例'
					},
					tooltip: { 
					},
					legend: {
						data: ['销量']
					},
					grid: {
						left: '3%',
						right: '4%',
						bottom: '3%',
						containLabel: true
					},
					xAxis: {
						type: 'category',
						boundaryGap: false,
						data: this.xAxisData // x轴数据
					},
					yAxis: {
						type: 'value'
					},
					series: [
						{
							name: '销量',
							type: 'line', 
							data: this.yAxisData1 // y轴数据1
						}
					]
				}
				this.myChartOne = echarts.init(document.getElementById('myChart'))
				this.myChartOne.setOption(option) 
			},
        } 
	}  
 
</script>
 

